﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for User
/// </summary>
public static class Utils
{

	public static string GetUserID(HttpRequest req)
	{
		string userid = "";

		HttpCookie aCookie = req.Cookies["ForumSettings"];
		if (aCookie != null)
		{
			if (aCookie["UserID"] != null)
			{
				userid = aCookie["UserID"].ToString();
			}
		}

		return userid;
	}

}